How to: Draw frame around a control in a report.
Solution:
In the Report Design view, use the property sheet to the change border style, width and color.
NOTE: The 'Developer Tools' must be installed.
1) If the Database window is not active, activate the Database window.
2) Click the 'Reports' tab in the Database window.
3) Select the desired report containing the picture or object from the list box. (The selected report is highlighted.)
Reports tab
4) Click 'Design'. (The selected report appears in the Report Design view.)
5) To frame the control using the property sheet:
a) Select the control to contain the frame. (Handles appear around the control.)
b) Select the 'View' menu and select 'Properties'. (The property sheet appears for the selected control.)
c) Click the 'Format' tab.
d) Click in the 'Border Style' property box. (A down arrow appears.)
e) Click on the down arrow. (A drop-down list appears.)
f) Click on the style of the border from the drop-down list. (The choice appears in the property box, and the new border style surrounds the control.)
NOTE: Selecting 'Transparent' will result in NO frame and a transparent control.
g) (Optional) To select a different color for the border from the 'Border Color' property box:
1] Click the 'Border Color' property box. (A build button appears to the right of the property box.)
2] Click 'Build'. (The Color dialog box appears.)
3] Select the desired color or customize a color. (The color is highlighted.)
4] Click 'OK'.
h) (Optional) To change the width of the frame:
1] Click in the 'Border Width' property box. (A down arrow appears.)
2] Click on the down arrow. (A drop-down list appears.)
3] Select the point size of the border from the drop-down list. (The choice appears in the property box, and the new border width appears around the control.)
Properties to create a frame in the Property sheet
i) To close the property sheet, click 'X' in the upper-right hand corner of the property sheet.
Click the X button to close property sheet
NOTE: The properties will be saved only when the design view is saved.
6) Select the 'File' menu and select 'Save' to save changes.
NOTE: The 'Rectangle' Toolbox button can also be used to draw a frame around a control on a form or report in Design view. However, when moving the control, the frame will not move with the control as the frame does when using the control properties.